package com.yjian.controller.bean;

import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * Created by xuxiaobao on 2017/9/29.
 */
@Data
public class SendSmsRequest {
    @NotEmpty(message = "请输入手机号")
    @Length(min = 11, max = 11, message = "请输入正确的手机号")
    private String phone;
}
